package com.example.demo.entity.pojo;

import java.io.Serializable;

/**
 * 聊天消息表(ChatMessage)实体类
 *
 * @author makejava
 * @since 2025-06-19 17:16:35
 */
public class ChatMessage implements Serializable {
    private static final long serialVersionUID = -51707631690444558L;
/**
     * 消息自增ID
     */
    private Long messageId;
/**
     * 会话ID
     */
    private String sessionId;
/**
     * 消息类型
     */
    private Integer messageType;
/**
     * 消息内容
     */
    private String messageContent;
/**
     * 发送时间
     */
    private Long sendTime;
/**
     * 文件大小
     */
    private Long fileSize;
/**
     * 文件名
     */
    private String fileName;
/**
     * 文件类型
     */
    private Integer fileType;
/**
     * 状态 0:正在发送 1:已发送
     */
    private Integer status;


    public Long getMessageId() {
        return messageId;
    }

    public void setMessageId(Long messageId) {
        this.messageId = messageId;
    }

    public String getSessionId() {
        return sessionId;
    }

    public void setSessionId(String sessionId) {
        this.sessionId = sessionId;
    }

    public Integer getMessageType() {
        return messageType;
    }

    public void setMessageType(Integer messageType) {
        this.messageType = messageType;
    }

    public String getMessageContent() {
        return messageContent;
    }

    public void setMessageContent(String messageContent) {
        this.messageContent = messageContent;
    }

    public Long getSendTime() {
        return sendTime;
    }

    public void setSendTime(Long sendTime) {
        this.sendTime = sendTime;
    }

    public Long getFileSize() {
        return fileSize;
    }

    public void setFileSize(Long fileSize) {
        this.fileSize = fileSize;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public Integer getFileType() {
        return fileType;
    }

    public void setFileType(Integer fileType) {
        this.fileType = fileType;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

}

